package com.zker.missyou;/*
 * ClassName: LOLApplication
 * Package : com.zker.missyou
 * Description:
 * @Author zKer
 * @Create 2024/6/26 13:57
 */

import com.zker.missyou.sample.ISkill;
import org.springframework.boot.SpringApplication;
import org.springframework.context.ConfigurableApplicationContext;
import org.springframework.context.annotation.ComponentScan;

@ComponentScan
public class LOLApplication {
    public static void main(String[] args) {
        ConfigurableApplicationContext context = new SpringApplication(LOLApplication.class).run(args);
        ISkill iSkill = (ISkill) context.getBean("irelia");
    }
}
